#!/usr/bin/python3
import os
import time

ct = time.localtime()  # ct = current_time
str_time = f"{ct.tm_year}/{ct.tm_mon}/{ct.tm_mday} {ct.tm_hour}:{ct.tm_min}"
commands = (
    'git add .',
    f'git commit -m \"{str_time}\"',
    'git push gitee'
)
for command in commands:
    os.system(command)
